home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
012
/
quickies.arc
/
SCR.DOC
< prev
next >
Wrap
Text File
|
1987-06-11
|
2KB
|
72 lines
The .SCR files are scripts to DEBUG which create .COM files to accomplish
various things.
To create the .COM files,
DEBUG < file.SCR
**** ASK *****
This program will echo whatever text follows the call, to the screen. It
then waits for the user to press a key. It converts the character pressed
to upper case and echoes it to the screen. If the user presses Y,y,N,n ASK
will echo Yes or No to the screen. In any case (no pun), the ASCII code
for the upper case character is returned in ERRORLEVEL to be tested by
IF ERRORLEVEL nn stmt
Example:
:askloop
ASK Do you wish to continue ? Y/N
IF ERRORLEVEL 89 goto :docont
IF ERRORLEVEL 78 goto :quit
ECHO Please answer Y or N
goto :askloop
*** EPLQ ***
This program sends control codes to an Epson Printer to:
Reset printer
Set page length to 66 lines/page
Set skip-over-perferation to 6 lines
Set double-strike mode
*** EPLQC ***
This program sends control codes to an Epson Printer to:
Reset printer
Set page length to 66 lines/page
Set skip-over-perferation to 6 lines
Set condensed print mode
*** EPRESET ***
Resets Epson Printer to boot-up state.
*** FF ***
Sends a form-feed to the printer.
*** VIDRESET ***
Resets video mode and colors. Good for use after programs which do not
terminate in a friendly manner, and leave video in a strange state.
*** WARMBOOT ***
*** COLDBOOT ***
These reboot the computer as their names suggest. On the SPERRY PC, there
doesn't seem to be any difference between a warm and cold boot.